$OpenBSD: patch-plugins_actions_waveformmanagement_mediadecoder_h,v 1.1 2016/10/12 10:07:45 ajacoutot Exp $

Fix build with gstreamer1mm >=1.8.0

--- plugins/actions/waveformmanagement/mediadecoder.h.orig	Wed Oct 12 11:38:40 2016
+++ plugins/actions/waveformmanagement/mediadecoder.h	Wed Oct 12 11:38:53 2016
@@ -200,7 +200,7 @@ class MediaDecoder : virtual public sigc::trackable (p
 	{
 		check_missing_plugins();
 		
-		Glib::ustring error = (msg) ? msg->parse().what() : Glib::ustring();
+		Glib::ustring error = (msg) ? msg->parse_error().what() : Glib::ustring();
 		
 		dialog_error(_("Media file could not be played.\n"), error);
 		// Critical error, cancel the work.
@@ -214,7 +214,7 @@ class MediaDecoder : virtual public sigc::trackable (p
 	{
 		check_missing_plugins();
 		
-		Glib::ustring error = (msg) ? msg->parse().what() : Glib::ustring();
+		Glib::ustring error = (msg) ? msg->parse_error().what() : Glib::ustring();
 		dialog_error(_("Media file could not be played.\n"), error);
 
 		return true;
